Skip to content

Conversation

EffortlessSteven
Copy link
Contributor

Summary

Removes the ts(7043) implicit-any hint by introducing a typed alias for ImagesOptimizer output and annotating _image explicitly:

  • Imports ImagesOptimizer from ./images-optimization
  • Defines type OptimizedImage = Awaited<ReturnType<ImagesOptimizer>>[0]
  • Annotates _image: OptimizedImage | undefined

No functional changes. Type-level only.

CI Outcome

  • astro check: no errors, warnings, or hints
  • eslint .: clean
  • prettier --check .: all files formatted

Import ImagesOptimizer, define OptimizedImage alias, and annotate the `_image` variable to remove an implicit-any hint (ts7043) in `src/utils/images.ts`. No functional changes.
@prototypa prototypa merged commit afb0409 into arthelokyo:main Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants